package uz.rt.linac;

import uz.rt.units.Angle;
import uz.rt.units.Length;
import uz.rt.utils.Coordinate;

/**
 * Table class defines the properties for a RT table.
 *
 * @author Nadia
 * @version 0.0.1
 */
public class Table extends LinacComponent
{
// ------------------------------ FIELDS ------------------------------
    private Angle angle = null;
    private Coordinate<Length> position = null;

// --------------------------- CONSTRUCTORS ---------------------------
    public Table()
    {

    }

    public Table(Angle angle, Coordinate<Length> position)
    {
        setAngle(angle);
        setPosition(position);
    }
// --------------------- GETTER / SETTER METHODS ---------------------
    public Angle getAngle()
    {
        return angle;
    }

    public void setAngle(Angle angle)
    {
        this.angle = angle;
    }

    public Coordinate<Length> getPosition()
    {
        return position;
    }

    public void setPosition(Coordinate<Length> position)
    {
        this.position = position;
    }
}
